import request from '@/request/request'
// 获取手机验证码
export function getPhoneMessage(data) {
  return request({
		loading:true,
    url: '/h5captcha/sms/validateCode',
    method: 'post',
		data:data
  })
}
// 获取邮箱验证码
export function getEmailMessage(data) {
  return request({
		loading:true,
    url: '/h5captcha/email/validateCode',
    method: 'post',
		data:data
  })
}
//登录
export function login(data) {
  return request({
		loading:true,
    url: '/h5Login',
    method: 'post',
		data:data
  })
}
